FROM openjdk:8-jdk-alpine
WORKDIR /usr/local/app/
VOLUME /home/app/
RUN rm -rf ./service/ && rm -rf ./h5/
ADD docker-0.0.1.jar app.jar
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]